<%--
  Created by IntelliJ IDEA.
  User: qiu
  Date: 2021-01-17
  Time: 下午 08:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    pageContext.setAttribute("ctx", request.getContextPath());
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form method="post" action="${ctx}/restful/save">
        <input type="submit" value="保存">
    </form>
    <form method="get" action="${ctx}/restful/query/2">
        <input type="submit" value="查询">
    </form>
    <form method="post" action="${ctx}/restful/update/1">
        <input type="hidden" name="_method" value="put">
        <input type="submit" value="更新">
    </form>
    <form method="post" action="${ctx}/restful/delete/1">
        <input type="hidden" name="_method" value="delete">
        <input type="submit" value="删除">
    </form>
<hr>
<img src="${ctx}/images/121.jpg">
</body>
</html>
